package org.zhu.common.bean;


import org.zhu.common.bean.enums.Transport;

/**
 * Created by zhu yingzhi on 2017/9/14.
 * @author yingzhi zhu
 * 本地运费规则实体类
 */
public class FreightModelLocal {
    /**
     * 运输方式
     */
    private Transport transport;
    /**
     * 基本价格
     */
    private double price;
    /**
     * 基本价格 包含的公里
     */
    private int BaseKM; 
    /**
     * 超出基本公里 每公里价格
     */
    private double KMPrice;
    /**
     * 超出基本公里单位
     */
    private int perKM;
    /**
     * 最大超出公里数
     */
    private int maxKM;

    public Transport getTransport() {
        return transport;
    }

    public void setTransport(Transport transport) {
        this.transport = transport;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getBaseKM() {
        return BaseKM;
    }

    public void setBaseKM(int baseKM) {
        BaseKM = baseKM;
    }

    public double getKMPrice() {
        return KMPrice;
    }

    public void setKMPrice(double KMPrice) {
        this.KMPrice = KMPrice;
    }

    public int getMaxKM() {
        return maxKM;
    }

    public void setMaxKM(int maxKM) {
        this.maxKM = maxKM;
    }

    public int getPerKM() {
        return perKM;
    }

    public void setPerKM(int perKM) {
        this.perKM = perKM;
    }
}
